package soft.pojo;

import java.util.Date;

public class Teacher {
	private String tId;
	private String tName;
	private String tSex;
	private Integer tAge;
	private String className;
	private String courseName;
	private String email;
	private String phone;
	private String password;
	private Date regTime;
	private String address;
	private Integer permissions;
	
	public Teacher() {}
	public Teacher(String tId, String tName, String tSex, Integer tAge, String className, String courseName,
			String email, String phone, String password, Date regTime, String address, Integer permissions) {
		super();
		this.tId = tId;
		this.tName = tName;
		this.tSex = tSex;
		this.tAge = tAge;
		this.className = className;
		this.courseName = courseName;
		this.email = email;
		this.phone = phone;
		this.password = password;
		this.regTime = regTime;
		this.address = address;
		this.permissions = permissions;
	}
	public String gettId() {
		return tId;
	}
	public void settId(String tId) {
		this.tId = tId;
	}
	public String gettName() {
		return tName;
	}
	public void settName(String tName) {
		this.tName = tName;
	}
	public String gettSex() {
		return tSex;
	}
	public void settSex(String tSex) {
		this.tSex = tSex;
	}
	public Integer gettAge() {
		return tAge;
	}
	public void settAge(Integer tAge) {
		this.tAge = tAge;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getRegTime() {
		return regTime;
	}
	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getPermissions() {
		return permissions;
	}
	public void setPermissions(Integer permissions) {
		this.permissions = permissions;
	}
	@Override
	public String toString() {
		return "Teacher [tId=" + tId + ", tName=" + tName + ", tSex=" + tSex + ", tAge=" + tAge + ", className="
				+ className + ", courseName=" + courseName + ", email=" + email + ", phone=" + phone + ", password="
				+ password + ", regTime=" + regTime + ", address=" + address + ", permissions=" + permissions + "]";
	}
	
	

}
